package com.dy.util;


import com.aliyun.dysmsapi20170525.Client;
import com.aliyun.teaopenapi.models.Config;

/**
 * 短信发送工具类
 */
public class SMSUtils {
    public static Client createClient() throws Exception {
        Config config = new Config()
                .setAccessKeyId("LTAI5tH86Vf12MSjNHQZkTZX")
                .setAccessKeySecret("FbittC8Yuhzc0Hwr7DGJthsdjMv6KF");
        config.endpoint = "dysmsapi.aliyuncs.com";
        return new Client(config);
    }

}